﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WYJWeb
{
    public class SqlClause
    {
        public string Template { get; set; }
        public string[] TemplateFills { get; set; }

        public static string Select(string column, string tableName)
        {
            return $"SELECT {column} FROM {tableName}";
        }


        public override string ToString()
        {
            return string.Format(Template, TemplateFills);
        }

    }

}
